# 学生信息录入系统，设计类，记录姓名、年龄、地址
class Student(object):
    def __init__(self, name, age, address):
        self.name = name
        self.age = age
        self.address = address

    def __str__(self):
        return "Student(name=%s, age=%s, address=%s)" % (self.name, self.age, self.address)


for i in range(1,11):
    print(f"当前录入第{i}位学生信息，总共需要录入10位学生信息")
    name = input("请输入学生姓名：")
    age = input("请输入学生年龄：")
    address = input("请输入学生住址：")
    s = Student(name, age, address)
    print(f"学生{i}信息录入完成：信息为【学生姓名：{name}，年龄：{age},学生地址:{address}】")
